package admin

import (
	"github.com/gogf/gf/v2/frame/g"
)

type UserDepartmentIndexReq struct {
	g.Meta `method:"get"  tags:"user"`
}
type UserDepartmentIndexRes struct {
}

type UserDepartmentAddReq struct {
	g.Meta   `method:"get" tags:"user"`
	ParentId int `p:"parentId"`
}
type UserDepartmentAddRes struct {
}
type UserDepartmentEditReq struct {
	g.Meta `method:"get" tags:"user"`
	ResId  int `p:"resId"`
}
type UserDepartmentEditRes struct {
}
type UserDepartmentDelDoReq struct {
	g.Meta `tags:"user"`
	ResId  int `p:"resId"`
}
type UserDepartmentDelDoRes struct {
}
type UserDepartmentSubmitDoReq struct {
	g.Meta   `tags:"user" `
	ResId    int    `p:"resId"       ` //
	ParentId int    `p:parentId`       //父类部门
	Title    string `p:"title"    `    // 部门名称
	CodeName string `p:"codeName" `    // 部门编码
	OrderNum int    `p:"orderNum" `    // 序号
	Bak      string `p:"bak"      `    // 备注

}
type UserDepartmentSubmitDoRes struct {
}

type UserDepartmentListDoReq struct {
	g.Meta `method:"get"  tags:"user"`
}
type UserDepartmentListDoRes struct {
}
